package com.qyl.deguru.dto;

import java.util.Date;

public class Order {

	private Integer id;
	private String order_code;
	private Date create_date;
	private Date send_date;
	private Integer trading_status;
	private Double total_amount;
	private User user;
	private Integer alipay;
	private Address address;
	
	
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getOrder_code() {
		return order_code;
	}
	public void setOrder_code(String order_code) {
		this.order_code = order_code;
	}
	public Date getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}
	public Date getSend_date() {
		return send_date;
	}
	public void setSend_date(Date send_date) {
		this.send_date = send_date;
	}
	public Integer getTrading_status() {
		return trading_status;
	}
	public void setTrading_status(Integer trading_status) {
		this.trading_status = trading_status;
	}
	public Double getTotal_amount() {
		return total_amount;
	}
	public void setTotal_amount(Double total_amount) {
		this.total_amount = total_amount;
	}

	public Integer getAlipay() {
		return alipay;
	}
	public void setAlipay(Integer alipay) {
		this.alipay = alipay;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", order_code=" + order_code + ", create_date=" + create_date + ", send_date="
				+ send_date + ", trading_status=" + trading_status + ", total_amount=" + total_amount + ", user=" + user
				+ ", alipay=" + alipay + ", address=" + address + "]";
	}

	
	
}
